<template>
  <div class="stars">
    <myheader title='我的收藏'>
          <span slot="left" class="iconfont iconjiantou2" @click="$router.back()"></span>
    </myheader>
    <articleblock v-for="(v,i) in starList" :key="i" :post="v"></articleblock>
  </div>
</template>

<script>
import myheader from '@/components/myheader.vue'
import {user_starList} from '@/apis/user.js'
import articleblock from '@/components/articleblock.vue'
export default {
  data () {
    return {
      starList:[]  
    }
  },
  components: {
    myheader,articleblock
  },
  async mounted () {
    let res = await user_starList()
    console.log(res);
    this.starList = res.data.data
  }
}
</script>

<style lang="less" scoped>

</style>